/**
 * \file screenpig/term.h
 * \date 01-30-2010
 * \author Davide Gessa
 * \note rendering di un terminale in una finestra
 */
#ifndef SCREENPIG_TERM_H
#define SCREENPIG_TERM_H

#include <types.h>

typedef struct
{
	uint32_t x0;
	uint32_t x1;
	uint32_t y0;
	uint32_t y1;
	uint8_t char_size;
	uint32_t color;
	uint32_t color_back;
	char *buf;
	uint32_t size;	
} screen_term_t;

void term_render(screen_term_t *);

#endif
